﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.ywxt.TenderBond
{
    public class Sub_Account
    {
        /// <summary>
        /// ID
        /// </summary>
        public virtual string Id { get; set; }

        /// <summary>
        /// 项目ID
        /// </summary>
        public virtual string Project_ID { get; set; }

        /// <summary>
        /// 交易代码
        /// </summary>
        public virtual string TransCode { get; set; }
                     
        /// <summary>
        /// 交易日期
        /// </summary>
        public virtual DateTime TransDate { get; set; }

        /// <summary>
        /// 交易时间
        /// </summary>
        public virtual DateTime TransTime { get; set; }

        /// <summary>
        /// 交易流水号
        /// </summary>
        public virtual string SeqNo { get; set; }

        /// <summary>
        /// 交易地区代码
        /// </summary>
        public virtual string ZoneName { get; set; }

        /// <summary>
        /// 母账户账号
        /// </summary>
        public virtual string AcctNo { get; set; }

        /// <summary>
        /// 标段唯一标识
        /// </summary>
        public virtual string BiaoDuanNo { get; set; }

        /// <summary>
        /// 开标日期
        /// </summary>
        public virtual DateTime OpenDate { get; set; }

        /// <summary>
        /// 开标时间
        /// </summary>
        public virtual DateTime OpenTime { get; set; }

        /// <summary>
        /// 保证金截止日期
        /// </summary>
        public virtual DateTime BZJEndDate { get; set; }

        /// <summary>
        /// 保证金截止时间
        /// </summary>
        public virtual DateTime BZJEndTime { get; set; }

        /// <summary>
        /// 基本帐户帐号
        /// </summary>
        public virtual string BaseAcctNo { get; set; }

        /// <summary>
        /// 基本账户名称
        /// </summary>
        public virtual string BaseAcctName { get; set; }

        /// <summary>
        /// 是否退息
        /// </summary>
        public virtual int IsRetire { get; set; }

        /// <summary>
        /// 是否提前查看保证金缴纳家数
        /// </summary>
        public virtual int BZJAheadView { get; set; }

        /// <summary>
        /// 到期日
        /// </summary>
        public virtual DateTime MatuDay { get; set; }

        /// <summary>
        /// 备用字段
        /// </summary>
        public virtual string Bak1 { get; set; }

        /// <summary>
        /// 应答代码
        /// </summary>
        public virtual int Result { get; set; }

        /// <summary>
        /// 交易结果信息
        /// </summary>
        public virtual string TransRltMsg { get; set; }

        /// <summary>
        /// 虚拟子账号
        /// </summary>
        public virtual string IAcctNo { get; set; }

        /// <summary>
        /// 虚拟子账户授权码(用于后续交易的身份认证)
        /// </summary>
        public virtual string AuthCode { get; set; }

        /// <summary>
        /// 审核
        /// </summary>
        public virtual int is_valid { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual DateTime create_date { get; set; }

        public Sub_Account()
        {
            this.is_valid = 1;
            this.create_date = DateTime.Now;
            this.Id = Common.NewID();
        }
    }
}

